package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物种对象 sms_species
 *
 * @author DRIES
 * @date 2022-03-09
 */
public class SmsSpecies extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 物种名称
     */
    @Excel(name = "物种名称")
    private String name;

    /**
     * 物种名称
     */
    @Excel(name = "物种别名")
    private String aliasName;

    /**
     * 物种名称
     */
    @Excel(name = "物种描述")
    private String description;

    /**
     * 物种图片
     */
    @Excel(name = "物种图片")
    private String images;

    /**
     * 入侵途径
     */
    @Excel(name = "入侵途径")
    private String intrusionRoute;

    /**
     * 防治手段
     */
    @Excel(name = "防治手段")
    private String content;

    /**
     * 发布者
     */
    @Excel(name = "发布者")
    private String publisherId;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public String getAliasName() {
        return aliasName;
    }

    public void setAliasName(String aliasName) {
        this.aliasName = aliasName;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getImages() {
        return images;
    }

    public void setIntrusionRoute(String intrusionRoute) {
        this.intrusionRoute = intrusionRoute;
    }

    public String getIntrusionRoute() {
        return intrusionRoute;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    public void setPublisherId(String publisherId) {
        this.publisherId = publisherId;
    }

    public String getPublisherId() {
        return publisherId;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("aliasName", getAliasName())
                .append("description", getDescription())
                .append("images", getImages())
                .append("intrusionRoute", getIntrusionRoute())
                .append("content", getContent())
                .append("publisherId", getPublisherId())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
